

package method_calling;

public class MyMethods {
   int total(){
       int a_Value = 10 + 10;
       return a_Value;
   } 
   
   void printtext(){
       System.out.println("This is a test method");
   }
   
   /**
    * Method take in a variable and times it by 50 
    * @param val
    * @return val*50 
    */
   int total(int val){
       int aVal = val*50;
       return aVal;
   }
}
